package com.ruoyi.driver.mapper;

import java.util.List;
import com.ruoyi.driver.domain.TbDriverAddress;

/**
 * 顺风单地址Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
public interface TbDriverAddressMapper 
{
    /**
     * 查询顺风单地址
     * 
     * @param addressId 顺风单地址主键
     * @return 顺风单地址
     */
    public TbDriverAddress selectTbDriverAddressByAddressId(Integer addressId);

    /**
     * 查询顺风单地址列表
     * 
     * @param tbDriverAddress 顺风单地址
     * @return 顺风单地址集合
     */
    public List<TbDriverAddress> selectTbDriverAddressList(TbDriverAddress tbDriverAddress);

    /**
     * 新增顺风单地址
     * 
     * @param tbDriverAddress 顺风单地址
     * @return 结果
     */
    public int insertTbDriverAddress(TbDriverAddress tbDriverAddress);

    /**
     * 修改顺风单地址
     * 
     * @param tbDriverAddress 顺风单地址
     * @return 结果
     */
    public int updateTbDriverAddress(TbDriverAddress tbDriverAddress);

    /**
     * 删除顺风单地址
     * 
     * @param addressId 顺风单地址主键
     * @return 结果
     */
    public int deleteTbDriverAddressByAddressId(Integer addressId);

    /**
     * 批量删除顺风单地址
     * 
     * @param addressIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbDriverAddressByAddressIds(Integer[] addressIds);
}
